package cn.tedu.lucky.draw.server;

import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableBatchProcessing //用于开启Spring Batch,此时就会让Spring创建Spring Batch的相关操作对象
@EnableScheduling //用于开启定时任务
public class LuckyDrawServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(LuckyDrawServerApplication.class, args);
    }

}
